package meihua.stopcarapp.presenter.contract;

import meihua.mylibrary.base.BaseModel;
import meihua.mylibrary.base.BasePresenter;
import meihua.stopcarapp.bean.result.OrderEcodeResult;
import meihua.stopcarapp.ui.BaseView;
import rx.Observable;

/**
 * Name: LGZ
 * Time: 2017/5/19.
 * Dec:
 */

public class OrderEcodeContract {

    public interface Model extends BaseModel {
        //结束停车
        Observable<OrderEcodeResult> sendOrderEcode(String order_num, String order_monry, String coupon_id, String coupon_gid);
    }

    public interface View extends BaseView {
        //返回获取的列表信息
        void returnOrderEcode(OrderEcodeResult result);
    }

    public abstract static class Presenter extends BasePresenter<View, Model> {
        //发起获取列表请求
        public abstract void secdOrderEcodeRequest(String order_num, String order_monry, String coupon_id, String coupon_gid);
    }

}
